package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Product;
import cn.tedu.egmybatis4.pojo.entity.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    ProductVO selectProduct(int id);
    int deleteProduct(int id);
    int deleteProductById(List<Integer> dpb);
    int updateProduct(Product product);
    int selectProductCount();
}
